<template>
  <view class="page-head">
    <text class="page-head-title">{{ title }}</text>
  </view>
</template>

<script>
  export default {
    name: "PageHead",
    props: {
      title: {
        type: String,
        default: "",
      },
    },
  };
</script>

<style>
  .page-head {
    padding: 20rpx;
    background: #f8f8f8;
  }
  .page-head-title {
    font-size: 36rpx;
    font-weight: bold;
  }
</style>
